package com.prb.http;

import java.io.IOException;
import java.io.OutputStream;

public class Response {

    private OutputStream os;
    public Response(OutputStream os){

        this.os = os;
    }

    public void write(String msg) throws IOException {

        os.write("POST http/1.1 200 ok".getBytes());
        os.write(msg.getBytes());

        os.flush();
    }

}
